package com.xwzn.resident.adapter;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.xwzn.resident.R;

import java.util.List;
/**
 * @Description 通知公告适配器
 * @Author HanKaiYang
 * @CreateDate 2019/12/23 11:05
 * @Version 1.0
 */
public class TzggAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public TzggAdapter(List<String> data) {
        super(R.layout.tzgg_recycler_item,data);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, String item) {
        helper.setText(R.id.tv_tzgg_title,"“平安渝北在线”"+item)
                .setText(R.id.tv_tzgg_date,"2019-12-12 11:31:24");
    }
}
